{include file=header.html}
<body>
<div class="sub-body">
<div class="tab-frame">
<div class="tab-title-1"><span>{$lang.fabric_manage}</span></div>
<table cellspacing="0" cellpadding="0" class="tab-display" id="tab-color">
	<tr>
		<td colspan="4" align="right"><a href="{url index.php?app=fabric&act=add}">{$lang.add_new_fabric}</a></td>
	</tr>
      <tr>
        <th width="25%">{$lang.fabric_name}</th>
        <th width="55%">{$lang.description}</th>
		<th width="10%">{$lang.if_show}</th>
		<th width="10%">{$lang.handle}</th>
      </tr>
	  <!--{foreach from=$fabric_list item=fabric}-->
       <tr>
        <td>{$fabric.fabric_name|escape}</td>
        <td>{$fabric.description|escape}</td>
        <td><!--{if $fabric.if_show}-->{$lang.yes}<!--{else}-->{$lang.no}<!--{/if}--></td>
		<td><a href="{url app=fabric&act=edit&id=$fabric.fabric_id}">{$lang.edit}</a></td>
      </tr>
	  <!--{/foreach}-->
    </table>
<script language="javascript" type="text/javascript" src="{res file=js/tab_color.js}"></script>
</div></div>
</body>
</html>